/*
* @Author: ludynice
* @Date:   2017-09-18 00:52:08
* @Last Modified by:   ludynice
* @Last Modified time: 2017-09-18 01:04:05
*/
'use strict';
/*
* @Author: ludynice
* @Date:   2017-09-18 00:39:35
* @Last Modified by:   ludynice
* @Last Modified time: 2017-09-18 00:49:19
*/
'use strict';

var _main = require('util/main.js');

var _cart = {
    //获取购物车数量
    getCartCount : function(resolve, reject){
        _main.request({
            url : _main.getServerUrl('/cart/get_cart_product_count.do'),
            // method : 'post',
            success : resolve,
            error : reject
        }); 
    }
};
module.exports = _cart;